﻿namespace YAF.Modules
{
    using System;

    [AttributeUsage(AttributeTargets.Class)]
    public class YafModule : Attribute
    {
        private string _moduleAuthor;

        private string _moduleName;

        private int _moduleVersion;

        public YafModule(string moduleName, string moduleAuthor, int moduleVersion)
        {
            this._moduleName = moduleName;
            this._moduleAuthor = moduleAuthor;
            this._moduleVersion = moduleVersion;
        }

        public string ModuleName
        {
            get
            {
                return this._moduleName;
            }
            set
            {
                this._moduleName = value;
            }
        }

        public string ModuleAuthor
        {
            get
            {
                return this._moduleAuthor;
            }

            set
            {
                this._moduleAuthor = value;
            }
        }

        public int ModuleVersion
        {
            get
            {
                return this._moduleVersion;
            }

            set
            {
                this._moduleVersion = value;
            }
        }
    }
}
